import request from '@/utils/requestMethod'

//points
export const points = (form: any) => request.post('/taskUser/points', form)

//pointsInfo
//pointsInfo
export const pointsInfo = (form: any) => request.get('/taskUser/pointsInfo', form)

//scanCode
export const scanCode = (form: any) => request.post('/taskUser/scanCode', form)

//setBankCar
export const setBankCard = (form: any) => request.post('/taskUser/setBankCard', form)

//withdrawalRecord
export const withdrawalRecord = (form: any) => request.post('/taskUser/withdrawalRecord', form)

//myNextLevel
export const myNextLevel = (form: any) => request.get('/taskUser/myNextLevel', form)

//systemMessage
export const systemMessage = (form: any) => request.get('/taskUser/systemMessage', form)

//systemMessageDetail
export const systemMessageDetail = (form: any) => request.get('/taskUser/systemMessageDetail', form)

//marking
export const marking = (form: any) => request.get('/taskUser/marking', form)

//bankCardInfo
export const bankCardInfo = (form: any) => request.get('/taskUser/bankCardInfo', form)

//withdrawalApply
export const withdrawalApply = (form: any) => request.post('/taskUser/withdrawalApply', form)

//notice
export const notice = () => request.get('/taskUser/notice')

//banner
export const banner = (form: any) => request.get('/taskBase/banner',form)

//taskList
export const taskList = () => request.get('/taskUser/taskList')

//homeAnnouncement
export const homeAnnouncement=(form:any)=>request.get('/taskBase/homeAnnouncement',form)

//scanCodeResult
export const scanCodeResult = (form: any) => request.post('/taskUser/scanCodeResult', form)

//configList
export const configList = (form: any) => request.get('/taskUser/configList', form)

//bindWsList
export const bindWsList = () => request.get('/taskUser/bindWsList')

//taskStage
export const taskStage = () => request.get('/taskUser/taskStage')

//userTreeList
export const userTreeList = () => request.get('/taskUser/userTreeList')

//getHomeAnnouncement
export const getHomeAnnouncement = (form: any) => request.get('/taskBase/getHomeAnnouncement', form)

//quickWithdrawCards
export const getQuickWithdrawCards = () => request.get('/taskUser/quickWithdrawCards')

//getInstallBookmarkInfo
export const getInstallBookmarkInfo = () => request.get('/taskUser/getInstallBookmarkInfo')

//settleInstallBookmarkInfo
export const settleInstallBookmarkInfo = () => request.post('/taskUser/settleInstallBookmarkInfo')

//getPhoneCode
export const getPhoneCode = (form: any) => request.post('/taskUser/phoneCode', form)

//noLogin official channels
export const taskBaseList = (form: any) => request.get('/taskBase/taskList', form)

//Obtain channel configuration
export const getWithdrawalChannel= () => request.get('/taskUser/getWithdrawalChannel')

export const platformConfig= () => request.get('/taskBase/platformConfig')

